package com.mxx.democharts2.dao.mapper;

import com.mxx.democharts2.pojo.SmartProduct;
import com.mxx.democharts2.pojo.SmartProductExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SmartProductMapper {
    long countByExample(SmartProductExample example);

    int deleteByExample(SmartProductExample example);

    int deleteByPrimaryKey(Integer seq);

    int insert(SmartProduct record);

    int insertSelective(SmartProduct record);

    List<SmartProduct> selectByExample(SmartProductExample example);

    SmartProduct selectByPrimaryKey(Integer seq);

    int updateByExampleSelective(@Param("record") SmartProduct record, @Param("example") SmartProductExample example);

    int updateByExample(@Param("record") SmartProduct record, @Param("example") SmartProductExample example);

    int updateByPrimaryKeySelective(SmartProduct record);

    int updateByPrimaryKey(SmartProduct record);
}